package com.xrkol.sharelib.entity;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * 点餐类别
 * @author dipei.ruan
 *
 */
@Entity
@Table
public class FoodType extends BasicEntity {

	private static final long serialVersionUID = 1L;

	@Id
	@GenericGenerator(name = "hibernate-uuid", strategy = "uuid")
	@GeneratedValue(generator = "hibernate-uuid")
	
	private Shop shop;
	
	@ManyToOne
	private String content;
}
